← Back to issue list

snapcraft (edge) fails to build core24 snaps. Running "apt update" within base container fails

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2054099
Type
issue
State
open
Author
~martin-kalcok
Labels
Created
2024-02-16 12:15:05.791058+00:00
Updated
2024-02-16 14:06:33.195492+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

This issue does NOT occur on current latest/stable which is "8.0.3". It happens on latest/edge (8.0.3.post24+git23d55913). When building core24 based snaps I get following error: # snapcraft pack Running snapcraft with a devel instance is for testing purposes only. craft-providers error: Failed to update apt cache.e from remote * Command that failed: 'lxc --project snapcraft exec local:base-instance-snapcraft-buildd-base-v60--d96bc63e95014eca9a88 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 apt-get update' * Command exit code: 100 * Command output: b"Ign:1 http://ftpmaster.internal/ubuntu noble InRelease\nIgn:2 http://ftpmaster.internal/ubuntu noble-updates InRelease\nIgn:3 http://ftpmaster.internal/ubuntu noble-backports InRelease\nGet:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [90.7 kB]\nIgn:1 http://ftpmaster.internal/ubuntu noble InRelease\nIgn:2 http://ftpmaster.internal/ubuntu noble-updates InRelease\nIgn:3 http://ftpmaster.internal/ubuntu noble-backports InRelease\nIgn:1 http://ftpmaster.internal/ubuntu noble InRelease\nIgn:2 http://ftpmaster.internal/ubuntu noble-updates InRelease\nIgn:3 http://ftpmaster.internal/ubuntu noble-backports InRelease\nErr:1 http://ftpmaster.internal/ubuntu noble InRelease\n Could not resolve 'ftpmaster.internal'\nErr:2 http://ftpmaster.internal/ubuntu noble-updates InRelease\n Could not resolve 'ftpmaster.internal'\nErr:3 http://ftpmaster.internal/ubuntu noble-backports InRelease\n Could not resolve 'ftpmaster.internal'\nFetched 90.7 kB in 7s (12.7 kB/s)\nReading package lists...\n" * Command standard error output: b"E: Failed to fetch http://ftpmaster.internal/ubuntu/dists/noble/InRelease Could not resolve 'ftpmaster.internal'\nE: Failed to fetch http://ftpmaster.internal/ubuntu/dists/noble-updates/InRelease Could not resolve 'ftpmaster.internal'\nE: Failed to fetch http://ftpmaster.internal/ubuntu/dists/noble-backports/InRelease Could not resolve 'ftpmaster.internal'\nE: Some index files failed to download. They have been ignored, or old ones used instead.\n" Full execution log: '/root/.local/state/snapcraft/log/snapcraft-20240216-124428.390032.log'

Evaluation history

No evaluation history available.